package com.wanda.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanda.dao.Opening_PayDAO;
import com.wanda.model.Opening_PayModel;
import com.wanda.service.Opening_PayService;

@Service
public class Opening_PayServiceImpl implements Opening_PayService{

	
	@Autowired
	private Opening_PayDAO opening_PayDAO;
	
	public void insertOpening(Opening_PayModel model) {
		// TODO Auto-generated method stub
		opening_PayDAO.insertOpening(model);
	}

	public int updateOpening(Opening_PayModel model) {
		// TODO Auto-generated method stub
	   return	opening_PayDAO.updateOpening(model);
	}

	public int deleteOpening(Opening_PayModel model) {
		// TODO Auto-generated method stub
		return opening_PayDAO.deleteOpening(model);
	}

	public Opening_PayModel selectById(String id) {
		// TODO Auto-generated method stub
		return opening_PayDAO.selectById(id);
	}

	public List<Opening_PayModel> selectAll() {
		// TODO Auto-generated method stub
		return opening_PayDAO.selectAll();
	}

}
